package org.geektimes.web.mvc.header;


import java.lang.reflect.Method;
import java.util.Set;


public class HandlerMethodInfo {
    private String requestPath;

    private Method method;

    private Set<String> supportHttpMethods;

    public HandlerMethodInfo(String requestPath, Method method, Set<String> supportHttpMethods) {
        this.requestPath = requestPath;
        this.method = method;
        this.supportHttpMethods = supportHttpMethods;
    }


    public String getRequestPath() {
        return requestPath;
    }

    public void setRequestPath(String requestPath) {
        this.requestPath = requestPath;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Set<String> getSupportHttpMethods() {
        return supportHttpMethods;
    }

    public void setSupportHttpMethods(Set<String> supportHttpMethods) {
        this.supportHttpMethods = supportHttpMethods;
    }
}
